package ooday04.practice;
import java.util.Timer;
import java.util.TimerTask;
public class TimerDemo {
    public static void main(String[] args) {
        Timer timer = new Timer();
        int t = 1500;
        timer.schedule(new TimerTask() {
            @Override
            public void run() {
                System.out.println("lalallalallala");
            }
        },t,t);


    }
}
